import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import i18n from '@/lang'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import "@/assets/styles/index.css"
import components from "@/components/index"
import "@/router/permission"
Vue.use(components)

Vue.use(ElementUI, {
  i18n: (key, value) => i18n.t(key)
});
Vue.config.productionTip = false

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
